projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4db5c
)
peg.texi: Fix bug#76555 even a bit more
author
Yue Yi
<include_yy@qq.com>
Wed, 26 Mar 2025 02:20:50 +0000
(22:20 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 26 Mar 2025 02:20:56 +0000
(22:20 -0400)
* doc/lispref/peg.texi (Parsing Expression Grammars):
Fix grammar of `define-peg-ruleset` example.
doc/lispref/peg.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/peg.texi
b/doc/lispref/peg.texi
index e03ec57a457842a250396b7aeea111f054b1f54c..193a7ca957e1a8f188dddfe6ec30128a4be11c45 100644
(file)
--- a/
doc/lispref/peg.texi
+++ b/
doc/lispref/peg.texi
@@
-141,9
+141,9
@@
Define @var{name} as an identifier for @var{rules}.
@example
@group
(define-peg-ruleset number-grammar
-
;; `digit' here references the definition above.
-
'(
(number sign digit (* digit))
-
(sign (or "+" "-" "")
)))
+ ;; `digit' here references the definition above.
+ (number sign digit (* digit))
+
(sign (or "+" "-" ""
)))
@end group
@end example